﻿// -----------------------------------------------------------------------
// <copyright file="PagedRouteInfo.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace NetFramework.Router.Configuration
{
    using System;
    using System.Xml.Serialization;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    [Serializable]
    public class PagedRouteInfo
    {
        /// <summary>
        /// 获取或设置页面名称
        /// </summary>
        [XmlAttribute("page")]
        public string PageName { get; set; }

        /// <summary>
        /// 获取或设置路由信息
        /// </summary>
        [XmlArray("routes")]
        [XmlArrayItem("add")]
        public RouteInfo[] Routes { get; set; }

        /// <summary>
        /// 获取或设置所属站点
        /// </summary>
        [XmlAttribute("site")]
        public string WebSite { get; set; }
    }
}
